We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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