Hi Sergio,
The AS create actions was using create_respond_to_js so the redirect to an HTML page failed..
So I added to the controller: conf.create.link.page = true
Then the redirect to an HTML page works.
Thanks!
Dennis
Hi again..
One note..
You can redirect to index action with the id of the created record with
tdns_path(id: @record), or tdns_path(id: tdn.id) if you are using the
overrided create action you posted here. It would use a url like /tdns?id=xxx.
Also, you could add a route to index action with id, so the url would be /
tdns/xxx/list
get '/:controller/:id/list', :action => :index (list_tdn_path is already available so no need to add this route)
Redirect after create or revise to list_tdn_path is a super nice workflow for users, and is better than the search idea because
Thanks again for your help!
Dennis
Good to know.. but my users would probably struggle with anything other than a left click.. 😊