We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rely on Devise's load_resource or load_and_authorise_resource where possible.
load_resource
load_and_authorise_resource
class AccountTypesController < ApplicationController load_and_authorize_resource
def show @account_type = AccountType.find(params[:id]) # You don't need to do this, it's already taken care of end
See https://github.com/Growstuff/growstuff/pull/1124/files
We prefer feature tests over unit tests for views.
See https://github.com/Growstuff/growstuff/pull/421